package demo2;

public class TestStirng {
    public static void main(String[] args) {
        /*String s1="abc";
        String s2="abc";
        System.out.println(s1==s2);*/
        String s1=new String("abc");
        String s2=new String("abc");
        System.out.println(s1==s2);
    }
}
